package com.example.demo.config.aspect;

import com.example.demo.annotation.AspectTest;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class UseAspect {
    @AspectTest(val1 = "1", val2 = "2")
    public void testAs() {
        log.info("测试注解切面1");
    }

    @AspectTest(val1 = "2")
    public void testAs2() {
        log.info("测试注解切面2");
    }
}
